package com.mthebron.mthapp;

import java.io.IOException;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
import android.widget.TextView;

public class AndroidWebViewerActivity extends Activity {
    /** Called when the activity is first created. 
     * News Reader*/
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        WebView webView = new WebView(this);
        try {
			webView.loadData(new HTMLProcess(null, null).getHTML(), "text/html", null);
			 setContentView(webView);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			TextView tView= new TextView(this);
			tView.setText("Gahh");
			
			setContentView(tView);
		}
       
       
    }
}